import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 导入vant按需引入的模块
import './Vant/vant'

// 导入全局样式
import './assets/style/index.less'

// 动态设置rem基准值,屏幕宽度除以十
import 'amfe-flexible'
// 注册全局组件Article-cell
import articleCell from '@/components/article-cell.vue'
// 导入day.js
import '@/assets/utils/day.js'

Vue.config.productionTip = false

// 注册全局组件articleCell
Vue.component('article-cell', articleCell)

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
